package com.ryan.chat.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 308039
 * @version 1.0.0
 * @type ChatInfoDTO.java
 * @description
 * @date 2024/10/22 16:57
 */
@NoArgsConstructor
@Data
public class ResponseDTO<T> {

  /**
   * msg
   */
  @JsonProperty("msg")
  private String msg;
  /**
   * code
   */
  @JsonProperty("code")
  private Integer code;
  /**
   * data
   */
  @JsonProperty("data")
  private T data;
}
